|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectraar.register.RAList
public class RAList
| Field Summary |
|---|
| Fields inherited from interface raar.register.RADataType |
|---|
RA_LIST, RA_REAL, RA_STRING, RA_TYPE |
| Constructor Summary | |
|---|---|
RAList()
|
|
RAList(RANonElemDataType typeOfList)
Constructor, with a DataType that defines the content of a list. |
|
| Method Summary | |
|---|---|
void |
add(RAAllowedInList newValue)
Adds an element to the list. |
boolean |
canContain(RAAllowed other)
|
void |
clear()
Clears the list. |
java.lang.Object |
clone()
|
boolean |
equals(RAEqualityComparable otherElement)
|
int |
getType()
|
boolean |
hasMoreElements()
Tests if this list's nextElement method can be called again. |
RAAllowed |
makeClone()
|
RAAllowedInList |
nextElement()
Returns the next element in this list or null if it doesn't exist. |
void |
resetIteration()
This method resets the list's iterator, which means nextElement will start at the beginning of the list again. |
void |
set(RAAllowedInList newValue)
Sets the last element returned by nextElement. |
boolean |
structureEquals(RADataType newInput)
Checks the correctnes of the string-to-add, test tegen TypeOfList |
java.lang.String |
toString()
|
RANonElemDataType |
typeOfList()
|
RADataType |
value()
|
java.util.Vector |
values()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RAList()
public RAList(RANonElemDataType typeOfList)
| Method Detail |
|---|
public java.lang.Object clone()
clone in interface RADataTypeclone in class java.lang.Objectpublic java.util.Vector values()
public RAAllowed makeClone()
throws RAException
makeClone in interface RAAllowedRAExceptionpublic RANonElemDataType typeOfList()
typeOfList in interface RAAbstractList
public RADataType value()
throws RAException
value in interface RAAssignableRAException
public void add(RAAllowedInList newValue)
throws RAException
add in interface RAAbstractListnewValue - The value to add.
RAExceptionpublic boolean structureEquals(RADataType newInput)
s - String with the valuespublic boolean canContain(RAAllowed other)
canContain in interface RAAllowed
public void set(RAAllowedInList newValue)
throws RAException
set in interface RAAbstractListnewValue - The new value of this element
RAException
public void clear()
throws RAException
clear in interface RAAbstractListRAException
public RAAllowedInList nextElement()
throws RAException
nextElement in interface RAAbstractListRAException
public boolean hasMoreElements()
throws RAException
hasMoreElements in interface RAAbstractListRAException
public void resetIteration()
throws RAException
resetIteration in interface RAAbstractListRAExceptionpublic int getType()
getType in interface RADataType
public boolean equals(RAEqualityComparable otherElement)
throws RAException
equals in interface RAEqualityComparableRAExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||